package cn.netbox.spring.pojo;

import java.util.*;

/**
 * description:
 * date: 2021/11/24 16:05
 * author: Alex
 * version: 1.0
 */
public class Student2 {
    private int id;
    private String name;
    private School school;
    private String[] lessons;
    private List<String> games;
    private Map<String,String> hobby;
    private Set<String> sets;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    public String[] getLessons() {
        return lessons;
    }

    public void setLessons(String[] lessons) {
        this.lessons = lessons;
    }

    public List<String> getGames() {
        return games;
    }

    public void setGames(List<String> games) {
        this.games = games;
    }

    public Map<String, String> getHobby() {
        return hobby;
    }

    public void setHobby(Map<String, String> hobby) {
        this.hobby = hobby;
    }

    public Set<String> getSets() {
        return sets;
    }

    public void setSets(Set<String> sets) {
        this.sets = sets;
    }

    @Override
    public String toString() {
        return "Student2{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", school=" + school +
                ", lessons=" + Arrays.toString(lessons) +
                ", games=" + games +
                ", hobby=" + hobby +
                ", sets=" + sets +
                '}';
    }
}
